<script lang="ts">
  import * as FormPrimitive from "formsnap"
  import { cn } from "$lib/utils.js"

  type $$Props = FormPrimitive.DescriptionProps
  let className: $$Props["class"] = undefined
  export { className as class }
</script>

<FormPrimitive.Description
  class={cn("text-muted-foreground text-[0.8rem]", className)}
  {...$$restProps}
  let:descriptionAttrs
>
  <slot {descriptionAttrs} />
</FormPrimitive.Description>
